package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;

public class EXPR2A1 extends NonTerminalSymbol implements EXPR2A {

	private OP2 op2;
	private EXPR3 expr3;
	private EXPR2A expr2a;
	
	public OP2 getOp2() {
		return op2;
	}

	public EXPR3 getExpr3() {
		return expr3;
	}

	public EXPR2A getExpr2a() {
		return expr2a;
	}

	public EXPR2A1(OP2 op2, EXPR3 expr3, EXPR2A expr2a) {
		super();
		this.op2 = op2;
		this.expr3 = expr3;
		this.expr2a = expr2a;
	}

	@Override
	public String getRepresentation() {
		// TODO Auto-generated method stub
				return "{"+this.getClass().getSimpleName()+" -> "+op2.getRepresentation()+" "+expr3.getRepresentation()+" "+expr2a.getRepresentation()+"}";
	}

}
